package com.ciwong.epaper.modules.wordlist.dao;

import com.ciwong.mobilelib.utils.EAction;

/**
 * 练习册 相关Action
 *
 * @author lzh
 * @version ciwong v.1.0 2015/7/23 20:03
 * @since ciwong v.1.0
 */
public class WorkBookAction extends EAction
{

    /**
     * 获取练习册列表
     */
    public static final String GET_WORKBOOK_LIST = HOST
            + "/v1/studentWork/getWordBookList";

    /**
     * 练习册结果提交
     */
    public static final String POST_WORDLIST_SUBMIT = HOST
            + "/v1/studentWork/updateWordBookScore";

    @Override
    public String getActionUrl(String s)
    {
        if (s.equals(GET_WORKBOOK_LIST))
        {
            return GET_WORKBOOK_LIST;
        }else if(s.equals(POST_WORDLIST_SUBMIT)){
            return POST_WORDLIST_SUBMIT;
        }

        return super.getActionUrl(s);
    }
}
